<?php echo $this->load->view('_elements/registratednavigation'); ?>

<div id="content">

    <div id="centerbar">
        <?php if(empty($message_error)):?>
        <div class="titleI"><?php echo $Title?></div>
        <div id="cwbForm" class="blockstyle form">
             <?php echo form_open($this->curl . '/connect_with_bidder/'.$referral_no.'/'.$bid_id, 'id="connect_with_bidder" name="connect_with_bidder" autocomplete="off"')?>
             <?php echo $this->validation->error_string?>

                <div id="prID_Status" class="formElement">
                    <div class="blue formText"><?php echo $this->user_model->fields['sender_id']; ?></div>
                    <?php echo form_input('sender_id', 'M'.$sender_id, 'id="prMemberId" class="formInput" style="width:100px;" disabled="disabled"')?>
                    <div class="blue formText"><?php echo $this->user_model->fields['status']; ?></div>
                    <?php echo form_input('status', $status, 'id="prStatus" class="formInput" style="width:100px;" disabled="disabled"')?>
                </div>
                <div id="prReferral_Date" class="formElement">
                    <div class="blue formText"><?php echo $this->user_model->fields['referral_no']; ?></div>
                    <?php echo form_input('referral_no', $referral_no, 'id="prReferralNo" class="formInput" style="width:100px;" disabled="disabled"')?>
                    <div class="blue formText"><?php echo $this->user_model->fields['date_posted']; ?></div>
                    <?php echo form_input('date_posted', $date_posted, 'id="prDatePosted" class="formInput" style="width:100px;" disabled="disabled"')?>
                </div>
                <div id="prReferralAbstract" class="formElement">
                    <div class="blue formText"><?php echo $this->user_model->fields['referral_abstract']; ?></div>
                    <?php echo form_input('referral_abstract', $referral_abstract, 'class="formInput" style="width:550px;" disabled="disabled"')?>
                </div>
                <div id="prAskPrice" class="formElement">
                    <div class="blue formText"><?php echo $this->user_model->fields['ask_price']; ?></div>
                    <?php echo form_input('ask_price', $ask_price, 'class="formInput" style="width:100px;" disabled="disabled"')?>
                </div>
                <div id="prBidPrice" class="formElement">
                    <div class="blue formText"><?php echo $this->user_model->fields['bid_price']; ?></div>
                    <?php echo form_input('bid_price', $bid_price, 'class="formInput" style="width:100px;" disabled="disabled"')?>
                </div>
                <div id="formTextDeccription" class="formElement">
                     <div class="red justify"><?php echo T_("Make your Introduction to Bidder; ask about type of connection, how well they know person, etc; Make sure you feel confident about their connection!")?></div>
                </div>
                <div id="cwbMemberID" class="formElement">
                    <div class="blue formText"><?php echo $this->user_model->fields['receiver_id']; ?></div>
                    <?php echo form_input('receiver_id', 'M'.$receiver_id, 'class="formInput" style="width:100px; clear: both;" disabled="disabled"')?>
                </div>
                <div id="prMessageHeader" class="formElement">
                    <div class="blue formText"><?php echo $this->user_model->fields['message_header']; ?></div>
                    <?php echo form_input('message_header', $this->validation->message_header, 'class="formInput" style="width:550px;"')?>
                </div>
                <div id="prReferralDetails" class="formElement">
                    <div class="blue formText"><?php echo $this->user_model->fields['message_text']; ?></div>
                    <?php echo form_textarea('message_text', $this->validation->message_text, 'class="formInput"')?>
                </div>
                <input type="submit" id="prSend" class="blackbuttonstyle" value="<?php echo T_('SEND'); ?>" name="sendToBidder" />
            </div>
        <?php echo form_close()?>
        <?php else:?>
            <?php echo $message_error?>
        <?php endif;?>
   </div>
    
 <?php echo $this->load->view('_elements/Followrefs'); ?>
</div>